<%@ page pageEncoding="utf-8" contentType="text/html" %>
<%@ page import="model.*" %>
<%@ include file="header.tpl.jsp"%>

<%PaperLog[] logs = (PaperLog[]) request.getAttribute("paperlog[]");%>

<div class="box list">
	<h2><%=user.getUsername()%>的足迹</h2>
	
	<table>
		<thead>
			<tr><td>试卷名</td><td>总分</td><td>最后得分</td><td>完成时间</td></tr>
		</thead>
		<tbody>
		<%for(int i = 0; i < logs.length; i++){%>
			<tr><td><a href="QuestionList?pid=<%=logs[i].getPid()%>"><%=logs[i].getTitle()%></a></td><td><%=logs[i].getTotalScore()%></td><td><%=logs[i].getScore()%></td><td><%=logs[i].getDatelineString()%></td></tr>
		<%}%>
		</tbody>
	</table>
</div>

<%@ include file="footer.tpl.jsp"%>